var url = null;

/**
 * 查询
 */
function query() {
	$('#dg').datagrid({
		url : getHttpRequestPath("record/queryRecordList"),
		pageNumber : 1,
		queryParams : {
			userName : $("#userName_query").val()
		}
	});
}


var formatDateStr = "yyyy-MM-dd hh:mm:ss";
function formatDate(val, row, index) {
	var str ="";
	str += new Date(row.recordDate).format(formatDateStr);
	return str;
}
